 <?php
 	function second_header( $selected )
    {

		echo "<tr>";
			echo "<td colspan=\"2\" class=\"text1\" height=\"60\" valign=\"top\">";
                echo "<table class=\"mymenu\">";
                echo "<tr>";
				
				if( defined('GROUP') && GROUP == "comisie" )
				{
					echo "<td><a class=\"mymenu\" ".($selected === 1 ? "id=\"on\"" : "")." href=\"user_commission_list_notifications.php\">Notificari</a></td>";	
					echo "<td><a class=\"mymenu\" ".($selected === 2 ? "id=\"on\"" : "")." href=\"user_commission_manufacturers.php\">Furnizori</a></td>";
					echo "<td><a class=\"mymenu\" ".($selected === 3 ? "id=\"on\"" : "")." href=\"user_commission_search.php\">Cauta</a></td>";
					#echo "<td><a class=\"mymenu\" ".($selected === 3 ? "id=\"on\"" : "")." href=\"user_commission_programs.php\">Programe</a></td>";					
					#echo "<td><a class=\"mymenu\" ".($selected === 4 ? "id=\"on\"" : "")." href=\"user_commission_sessions.php\">Sesiuni</a></td>";					
				}
				else if( defined('GROUP') && GROUP == "anc" )
				{
					echo "<td><a class=\"mymenu\" ".($selected === 1 ? "id=\"on\"" : "")." href=\"user_anc_list_notifications.php\">Notificari</a></td>";
					echo "<td><a class=\"mymenu\" ".($selected === 2 ? "id=\"on\"" : "")." href=\"user_anc_central.php\">Centralizare</a></td>";
				}
				echo "<td><a class=\"mymenu\" ".($selected === 5 ? "id=\"on\"" : "")." href=\"user_manage_my_account.php\">Cont</a></td>";		
				echo "</tr> ";   
                echo "</table>";
        	echo "</td>";
		echo "</tr>";  
	}
	?>
	